package com.xpc.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xpc.mapper.StudentInfoMapper;
import com.xpc.pojo.vo.StudentInfo;
import com.xpc.service.IStudentInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.transform.Result;
import java.util.List;

/**
 * Project：UniversityGradeAdministrationSystem
 * Date：2022/5/23
 * Time：15:52
 * Description：TODO
 *
 * @author 南北辰的键盘
 * @version 1.0
 */
@Service("studentInfoService")
public class StudentInfoServiceImpl extends ServiceImpl<StudentInfoMapper, StudentInfo> implements IStudentInfoService {

    @Autowired
    private StudentInfoMapper studentInfoMapper;

    @Override
    public Page<StudentInfo> getPage(int currentPage, int pageSize) {
        Page page = new Page(currentPage, pageSize);
        studentInfoMapper.selectPage(page,null);
        return page;
    }

//    @Override
//    public Result selectStudentsInfo(){
//        List<StudentInfo> studentInfoList = studentInfoMapper.selectStudentInfo();
//        return
//    }


}
